package com.itheima.service;

import com.itheima.pojo.OrderSetting;

import java.util.List;
import java.util.Map;

/**
 * @version V1.0
 * @author: yongjichu
 * @date: 2020/1/15 18:54
 * @description:
 */
public interface OrderSettingService {
    /**
     * 预约设置
     * @param orderSetting
     */
    void setNumberByDate(OrderSetting orderSetting);

    /**
     * 批量导入数据
     * @param listOrderSetting
     */
    void batchSave(List<OrderSetting> listOrderSetting);

    /**
     * 获取预约设置数据
     * @param date
     * @return
     */
    List<Map> getOrderSettingByMonth(String date);
}
